package com.letv.whatslive.model;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by wangjian7 on 2016/1/28.
 */
@Setter
@Getter
public class DoubleLiveLog {

    public DoubleLiveLog(){

    }

    /**
     *
     * @param uid 主播ID
     * @param inviteUid 邀请者ID
     * @param pId 直播ID
     * @param action 活动
     * @param retryNum 重试次数
     * @param status 消息状态
     * @param reason 原因
     * @param date 时间
     */
    public DoubleLiveLog(String uid, String inviteUid, String pId, int action, int retryNum, int status, String reason, Long date){
        this.uid = uid;
        this.inviteUid = inviteUid;
        this.pId = pId;
        this.action = action;
        this.retryNum = retryNum;
        this.status = status;
        this.reason = reason;
        this.date = date;
    }


    private Long id;
    private String uid;
    private String inviteUid;
    private String pId;
    private int action;
    private int retryNum;
    private int status; //0未发送，1发送成功，2发送失败
    private String reason;
    private Long date;

}
